package com.movie.entity;

import lombok.Data;

/**
 * 座位信息实体类
 */
@Data
public class Seat {
    private Long id;
    private Long showtimeId;  // 关联的场次ID
    private Integer rowIndex;  // 行索引
    private Integer columnIndex;  // 列索引
    private String status;  // 座位状态：AVAILABLE(可用), OCCUPIED(已占用)

    // 座位状态常量
    public static final String STATUS_AVAILABLE = "AVAILABLE";  // 可用
    public static final String STATUS_OCCUPIED = "OCCUPIED";    // 已占用
}
